package com.njlime.member.repository.sms;

import com.njlime.core.helper.PageBean;
import com.njlime.member.entiies.TField;
import com.njlime.member.entiies.TMember;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-7-27.
 */
public interface FieldDao extends JpaRepository<TField, Integer>,JpaSpecificationExecutor<TField> {


   public PageBean list(PageBean pageBean, TField field );

   public void update(TField tield);

   public int updateStatus(TField info);

   public int order(   TField info , int type, int unitId,int userId);
}
